package com.codeoss.framework.view.component.chart;

import java.util.List;

import com.codeoss.framework.expression.Expression;
import com.codeoss.framework.view.component.Component;

public abstract class AbstractChart extends Component implements IChart{
	private String dataSource;
	private List<ChartDataItemDef> dimensionList;
	private List<ChartDataItemDef> measureList;
	private String title;
	private String subtitle;
	private int topN;
	private int col;
	private boolean bigScreen;
	private Expression whereClauseExpression;
	
	public int getCol() {
		return col;
	}

	public void setCol(int col) {
		this.col = col;
	}

	public boolean isBigScreen() {
		return bigScreen;
	}

	public void setBigScreen(boolean bigScreen) {
		this.bigScreen = bigScreen;
	}
	
	public String getDataSource() {
		return dataSource;
	}
	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}
	public List<ChartDataItemDef> getDimensionList() {
		return dimensionList;
	}
	public void setDimensionList(List<ChartDataItemDef> dimensionList) {
		this.dimensionList = dimensionList;
	}
	public List<ChartDataItemDef> getMeasureList() {
		return measureList;
	}
	public void setMeasureList(List<ChartDataItemDef> measureList) {
		this.measureList = measureList;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getSubtitle() {
		return subtitle;
	}
	public void setSubtitle(String subtitle) {
		this.subtitle = subtitle;
	}
	public int getTopN() {
		return topN;
	}
	public void setTopN(int topN) {
		this.topN = topN;
	}

	public Expression getWhereClauseExpression() {
		return whereClauseExpression;
	}

	public void setWhereClauseExpression(Expression whereClauseExpression) {
		this.whereClauseExpression = whereClauseExpression;
	}
}
